//
//  HomeNewsTableViewCell.swift
//  Community
//
//  Created by JKSD on 2019/8/5.
//  Copyright © 2019 ZKJ. All rights reserved.
//

import UIKit

class SWPTHomeNewsTableViewCell: UITableViewCell {

    @IBOutlet weak var img: UIImageView!
    @IBOutlet weak var lab: UILabel!
    override func awakeFromNib() {
        super.awakeFromNib()
        self.img.layer.cornerRadius = 5
        self.img.clipsToBounds = true
    }
    
   open func fillCell(lab:String,img:UIImage) {
    self.lab.text = lab
    self.img.image = img
    }
    
}
